// 现代化登录页面样式
.modern-login-container {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  // 移动端响应式
  @media (max-width: 768px) {
    flex-direction: column;
  }
}

// 左侧品牌区域
.brand-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  color: white;
  position: relative;
  overflow: hidden;

  // 背景装饰
  &::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
  }

  @keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
  }

  .brand-content {
    text-align: center;
    z-index: 1;
    position: relative;
  }

  .brand-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.9;
  }

  .brand-title {
    color: white !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    letter-spacing: -1px;
  }

  .brand-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
  }

  .feature-list {
    .feature-item {
      font-size: 16px;
      margin-bottom: 12px;
      opacity: 0.8;
    }
  }

  @media (max-width: 768px) {
    padding: 40px 20px;
    min-height: 300px;
    
    .brand-title {
      font-size: 36px !important;
    }
    
    .brand-subtitle {
      font-size: 16px;
    }
  }
}

// 右侧表单区域
.form-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);

  @media (max-width: 768px) {
    padding: 20px;
  }
}

.login-card {
  width: 100%;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  border-radius: 16px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  padding: 40px !important;

  @media (max-width: 768px) {
    padding: 30px !important;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 32px;

  .form-title {
    color: #262626 !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
  }

  .form-subtitle {
    color: #8c8c8c;
    font-size: 14px;
  }
}

// 表单样式
.login-form {
  .ant-input,
  .ant-input-password {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    font-size: 14px;
    transition: all 0.3s ease;

    &:hover {
      border-color: #1890ff;
    }

    &:focus,
    &.ant-input-focused {
      border-color: #1890ff;
      box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    }
  }

  .ant-form-item {
    margin-bottom: 20px;
  }

  .login-btn {
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(135deg, #1890ff 0%, #722ed1 100%);
    border: none;
    transition: all 0.3s ease;

    &:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
    }
  }
}

// 演示账户区域
.demo-section {
  text-align: center;
  margin: 24px 0;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;

  .demo-label {
    color: #8c8c8c;
    font-size: 12px;
    margin-right: 8px;
  }

  .ant-btn-link {
    font-size: 12px;
    padding: 0;
    height: auto;
  }
}

// 页脚
.form-footer {
  text-align: center;
  margin-top: 24px;

  .ant-typography {
    font-size: 12px;
    color: #bfbfbf;
  }
}